Geometry instancing

In real-time computer graphics, geometry instancing is the practice of rendering multiple copies of the same mesh in a scene at once. This technique is primarily used for objects such as trees, grass, or buildings which can be represented as repeated geometry without appearing unduly repetitive, but may also be used for characters. Although vertex data is duplicated across all instanced meshes, each instance may have other differentiating parameters (such as color, or skeletal animation pose) changed in order to reduce the appearance of repetition.

Contents

API support for geometry instancing

Starting in Direct3D version 9, Microsoft included support for geometry instancing. This method improves the potential runtime performance of rendering instanced geometry by explicitly allowing multiple copies of a mesh to be rendered sequentially by specifying the differentiating parameters for each in a separate stream. The same functionality is exposed in OpenGL using the EXT_draw_instanced extension.

Geometry instancing in offline rendering

Geometry instancing in Maya usually involves mapping a pre-animated object or geometry to particles, which can then be rendered in any renderer. Geometry instancing in Maya is useful for creating things like swarms of bees or wasps, in which each one can be detailed, but still behaves in a realisitic way that does not have to be determined by the animator. Because instancing geometry in Maya or any other 3D package only references the original object, file sizes are kept very small and changing the original changes all of the instances.

Video cards that support geometry instancing

External links